/**
 * 
 */
package enumeration;

import com.xbang.attendance.utils.Constants;

/**
 * @author dev.zhang
 * 
 *         OUT-出库 TURE_OUT-调出 TRANSFERRED-调入 REPLENISHMENT-补货
 */
public enum InventoryOperation {

	OUT, TURE_OUT, TRANSFERRED, REPLENISHMENT;

	private String aliseName;

	public InventoryOperation getValue() {
		return this;
	}

	/**
	 * @return the name
	 */
	public String getAliseName() {

		switch (this) {
		case OUT:
			aliseName = Constants.InventoryOperationConstants.INVENTORY_OPERATION_OUT;
			break;
		case TURE_OUT:
			aliseName = Constants.InventoryOperationConstants.INVENTORY_OPERATION_TURE_OUT;
			break;
		case TRANSFERRED:
			aliseName = Constants.InventoryOperationConstants.INVENTORY_OPERATION_TRANSFERRED;
			break;
		case REPLENISHMENT:
			aliseName = Constants.InventoryOperationConstants.INVENTORY_OPERATION_REPLENISHMENT;
			break;
		}

		return aliseName;
	}

}
